﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WineBLL
{
    public class Consignees_ShowBLL
    {
        WineDAL.Consignees_ShowDAL dal = new WineDAL.Consignees_ShowDAL();
        /// <summary>
        /// 显示用户收货地址
        /// </summary>
        /// <param name="UsersID"></param>
        /// <returns></returns>
        public ArrayList Consignees_Show(int UsersID)
        {
            return dal.Consignees_Show(UsersID);
        }
        /// <summary>
        /// 删除用户收货地址
        /// </summary>
        /// <param name="ConsigneeID"></param>
        /// <returns></returns>
        public int Consignees_Del(int ConsigneeID)
        {
            return dal.Consignees_Del(ConsigneeID);
        }
        /// <summary>
        /// 添加用户收货地址
        /// </summary>
        /// <param name="Consignee"></param>
        /// <returns></returns>
        public int Consignees_Add(WineModel.Consignee Consignee)
        {
            return dal.Consignees_Add(Consignee);
        }
        /// <summary>
        /// 修改用户收货地址
        /// </summary>
        /// <param name="Consignee"></param>
        /// <returns></returns>
        public int Consignees_Edit(WineModel.Consignee Consignee)
        {
            return dal.Consignees_Edit(Consignee);
        }
        /// <summary>
        /// 显示地区列表
        /// </summary>
        /// <returns></returns>
        public List<WineModel.Area> AreasShow()
        {
            return dal.AreasShow();
        }
        /// <summary>
        /// 显示地区列表
        /// </summary>
        /// <returns></returns>
        public List<WineModel.Area> AreasSelect(int Aid)
        {
            return dal.AreasSelect(Aid);
        }
    }
}
